package or.dbutils.dao;/*
 *@Author: gjh
 *Date: 2025/2/2619:40
 *Describe:
 */

import or.dbutils.entity.Behavior;

import java.util.List;

public interface BehaviorDao {
    //添加
    int insert(Behavior behavior);

    //修改
    int update(Behavior behavior);

    //删除
    int delete(int id);

    //分页查询
    List<Behavior> selectByPage(int currenPage,int pageSize);

    //编号查询
    Behavior selectById(int id);

    //所有查询
    List<Behavior> selectAll();
}
